/**
 */
package com.dingpeikeji.quickdeer.core.modules.returnrule.entity;

import javax.validation.constraints.NotNull;
import java.util.List;

import com.dingpeikeji.quickdeer.core.common.persistence.DataEntity;
import com.google.common.collect.Lists;

/**
 * 退票规则定义Entity
 * @author lh
 * @version 2016-07-08
 */
public class TReturnrule extends DataEntity<TReturnrule> {
	
	private static final long serialVersionUID = 1L;
	private Integer returnid;		// 主键
	private String rtnrulename;		// 规则名称
	private List<TReturnruleDtl> tReturnruleDtlList = Lists.newArrayList();		// 子表列表
	
	public TReturnrule() {
		super();
	}

	public TReturnrule(String id){
		super(id);
	}

	public Integer getReturnid() {
		return returnid;
	}

	public void setReturnid(Integer returnid) {
		this.returnid = returnid;
	}
	
	public String getRtnrulename() {
		return rtnrulename;
	}

	public void setRtnrulename(String rtnrulename) {
		this.rtnrulename = rtnrulename;
	}

	public List<TReturnruleDtl> gettReturnruleDtlList() {
		return tReturnruleDtlList;
	}

	public void settReturnruleDtlList(List<TReturnruleDtl> tReturnruleDtlList) {
		this.tReturnruleDtlList = tReturnruleDtlList;
	}
	
}
